package com.frogs.ucenter.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class UserRechargeCheck implements Serializable {
    private static final long serialVersionUID = -6784778208880102892L;

    /**
     * This field corresponds to the database column user_recharge_check.id
     */
    private Integer id = 0;

    /**
     * This field corresponds to the database column user_recharge_check.user_id
     */
    private Integer userId = 0;

    /**
     * This field corresponds to the database column user_recharge_check.check_time
     */
    private Date checkTime = new Date();

    /**
     * This field corresponds to the database column user_recharge_check.last_balance
     */
    private BigDecimal lastBalance;

    /**
     * This field corresponds to the database column user_recharge_check.balance
     */
    private BigDecimal balance;

    /**
     * This field corresponds to the database column user_recharge_check.check_result
     */
    private Integer checkResult = 1;

    /**
     * This method returns the value of the database column user_recharge_check.id
     *
     * @return the value of user_recharge_check.id
     */
    public Integer getId() {
        return id;
    }

    /**
     * This method sets the value of the database column user_recharge_check.id
     *
     * @param id the value for user_recharge_check.id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * This method returns the value of the database column user_recharge_check.user_id
     *
     * @return the value of user_recharge_check.user_id
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * This method sets the value of the database column user_recharge_check.user_id
     *
     * @param userId the value for user_recharge_check.user_id
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * This method returns the value of the database column user_recharge_check.check_time
     *
     * @return the value of user_recharge_check.check_time
     */
    public Date getCheckTime() {
        return checkTime;
    }

    /**
     * This method sets the value of the database column user_recharge_check.check_time
     *
     * @param checkTime the value for user_recharge_check.check_time
     */
    public void setCheckTime(Date checkTime) {
        this.checkTime = checkTime;
    }

    /**
     * This method returns the value of the database column user_recharge_check.last_balance
     *
     * @return the value of user_recharge_check.last_balance
     */
    public BigDecimal getLastBalance() {
        return lastBalance;
    }

    /**
     * This method sets the value of the database column user_recharge_check.last_balance
     *
     * @param lastBalance the value for user_recharge_check.last_balance
     */
    public void setLastBalance(BigDecimal lastBalance) {
        this.lastBalance = lastBalance;
    }

    /**
     * This method returns the value of the database column user_recharge_check.balance
     *
     * @return the value of user_recharge_check.balance
     */
    public BigDecimal getBalance() {
        return balance;
    }

    /**
     * This method sets the value of the database column user_recharge_check.balance
     *
     * @param balance the value for user_recharge_check.balance
     */
    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    /**
     * This method returns the value of the database column user_recharge_check.check_result
     *
     * @return the value of user_recharge_check.check_result
     */
    public Integer getCheckResult() {
        return checkResult;
    }

    /**
     * This method sets the value of the database column user_recharge_check.check_result
     *
     * @param checkResult the value for user_recharge_check.check_result
     */
    public void setCheckResult(Integer checkResult) {
        this.checkResult = checkResult;
    }
}